<div class="in-left">
    <div class="tit"><?php echo !$categoryId ? '联系我们' : $categoryInfo['CategoryName'] ?></div>
    <?php foreach ($categories as $val) { ?>
        <a href="/column/<?php echo $val['CategoryId'] ?>" class="item <?php echo $categoryId == $val['CategoryId'] ? 'active' : ''  ?>"><?php echo $val['CategoryName'] ?></a>
    <?php } ?>
    <?php if ($isShowContacts) { ?>
        <a href="/Contact/Contact" class="item <?php echo !$categoryId ? 'active' : ''  ?>">联系我们</a>
    <?php } ?>
</div>